package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.RecordCost;
import com.xmy.cultivate.mapper.RecordCostMapper;
import com.xmy.cultivate.service.IRecordCostService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 记上课扣课时与费用明细 服务实现类
 * </p>
 *
 * @author min
 * @since 2022-10-06
 */
@Service
public class RecordCostServiceImpl extends ServiceImpl<RecordCostMapper, RecordCost> implements IRecordCostService {

    @Autowired
    RecordCostMapper recordCostMapper;

    @Override
    public RecordCost getOneByRecordId(Long recordId){
        return recordCostMapper.getOneByRecordId(recordId);
    }
}
